package mx.com.sinformex.chat.core.client;

/**
 * @author Oscar Ivan Hernandez Ventura [ oscar at sinformex dot com dot mx]
 *
 * @version $ Id : IChatClient.java , v 1.0 Aug 12, 2009 angellore $
 */
public interface IChatClient extends Runnable {
	/** To make persistent connection beween server and client */
	public static final int REQUEST_TYPE_ECHO = 1;
	/** Request available rooms; is server instance is configured with single communication method, in other words, the room supports only moderator and one client,
	 * then, the server have to send empty rooms, other wise, the server sends all rooms that have limit to one more client.*/
	public static final int REQUEST_TYPE_REQUEST_AVAILABLE_ROOMS = 2;
	/** Join client to group */
	public static final int REQUEST_TYPE_JOIN_TO_ROOM = 3;
	

	public static final int RESPONSE_TYPE_ECHO = 1001;
	public static final int RESPONSE_TYPE_REQUEST_AVAILABLE_ROOMS = 1002;
}
